package com.kehutong.flow.entity;

import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;

/**
 * 流程角色
 *
 */
@Table(value="t_flow_role", comment="流程角色", multi=true)
public class FlowRole extends Entity {

	private static final long serialVersionUID = 1734688661607403126L;

	protected FlowRole(String id) {
        super(id);
    }

    @Column(comment = "角色名称")
    private String name;

    @JSONField(serialize=false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isDeleted() {
		return deleted;
	}

	public void setDeleted(boolean deleted) {
		this.deleted = deleted;
	}

}
